package jfuzzyprincepless.zarchive.FSM;

import java.util.List;
import java.util.ArrayList;

import jfuzzyprincepless.negotiation.INegotiationContext;

public class Node implements INode { // TODO: rename: BaseNode & make abstract
	private String name;
	private List<IOutcome> outcomes = new ArrayList<IOutcome>();

	public Node(String name) {
		this.name = name;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public List<IOutcome> getOutcomes() {
		return outcomes;
	}

	@Override
	public IOutcome chooseOutcome(INegotiationContext context) {
		throw new UnsupportedOperationException();
	}
}
